package cn.tedu.antconlonysever.contract.service;

import cn.tedu.antcolonycommons.pojo.vo.PageData;
import cn.tedu.antconlonysever.contract.pojo.param.OrderDetailsAddNewParam;
import cn.tedu.antconlonysever.contract.pojo.param.OrderDetailsUpdateParam;
import cn.tedu.antconlonysever.contract.pojo.vo.OrderDetailsListVO;
import cn.tedu.antconlonysever.contract.pojo.vo.OrderDetailsStandardVO;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface IOrderDetailsService {
    void addNew(OrderDetailsAddNewParam orderDetailsAddNewParam);
    void delete(Long id);
    void updateInfoById(Long id , OrderDetailsUpdateParam orderDetailsUpdateParam);
    OrderDetailsStandardVO getStandardById(Long id);
    PageData<OrderDetailsListVO> list(Integer pageNum);
    PageData<OrderDetailsListVO> list(Integer pageNum,Integer pageSize);
}
